﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace SSHTool
{
    public partial class MainForm_BAK : Form
    {
        TabPage tp_FSMF = new TabPage();
        TabPage tp_FSIH = new TabPage();
        TabPage tp_TPT = new TabPage();
        TabPage tp_Telnet = new TabPage();

        public MainForm_BAK()
        {
            InitializeComponent();
            tabControl1.TabPages.Remove(tp_Telnet);

        }

        private void MainForm_BAK_Load(object sender, EventArgs e)
        {
            tp_FSMF = this.tabControl1.TabPages["FSMF"];
            tp_FSIH = this.tabControl1.TabPages["FSIH"];
            tp_TPT = this.tabControl1.TabPages["TPT"];
            tp_Telnet = this.tabControl1.TabPages["Telnet"];
            //this.tabControl1.TabPages.Remove(tp_FSMF);
        }

        private void button1_Click(object sender, EventArgs e)
        {

           
            this.tabControl1.TabPages.Clear();
            this.tabControl1.TabPages.Add(tp_FSMF);
            this.tabControl1.TabPages.Add(tp_FSIH);
            this.tabControl1.TabPages.Add(tp_TPT);



        }

        private void button2_Click(object sender, EventArgs e)
        {

            this.tabControl1.TabPages.Clear();
            this.tabControl1.TabPages.Add(tp_Telnet);
         

        }
    }
}
